package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 交流论坛：(ExchangeForum)表实体类
 *
 */
@TableName("`exchange_forum`")
@Data
@EqualsAndHashCode(callSuper = false)
public class ExchangeForum implements Serializable {

    // ExchangeForum编号
    @TableId(value = "exchange_forum_id", type = IdType.AUTO)
    private Integer exchange_forum_id;

    // 帖子标题
    @TableField(value = "`post_title`")
    private String post_title;
    // 封面图
    @TableField(value = "`cover_image`")
    private String cover_image;
    // 发布用户
    @TableField(value = "`publish_users`")
    private Integer publish_users;
    // 帖子内容
    @TableField(value = "`post_content`")
    private String post_content;

    // 点击数
    @TableField(value = "hits")
    private Integer hits;

    // 点赞数
    @TableField(value = "praise_len")
    private Integer praise_len;








    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;







}
